package com.ymttest.common.order.userquery.model.vo;

import java.lang.reflect.Field;

import com.ymttest.utils.DataUtil;


/**
 * 订单买家信息
 * @author luoshiqian 2016/12/28 12:46
 */
public class OrderConsumerInfo {
	public OrderConsumerInfo(){
		
	}

    /**
     * 买家id
     */
    private long userId;

    /**
     * 是否需要上传身份证
     */
    private boolean NeedUploadIDCard;

    /**
     * 是否已上传身份证
     */
    private boolean IDCardUpdated;
    

    /**
     * 订单留言
     */
    private String leaveWord;

    public OrderConsumerInfo(long userId, boolean needUploadIdCard, boolean idCardUpdated, String leaveWord) {
        this.userId = userId;
        this.NeedUploadIDCard = needUploadIdCard;
        this.IDCardUpdated = idCardUpdated;
        this.leaveWord = leaveWord;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public boolean isNeedUploadIDCard() {
        return NeedUploadIDCard;
    }

    public void setNeedUploadIDCard(boolean needUploadIdCard) {
        this.NeedUploadIDCard = needUploadIdCard;
    }

    public boolean isIDCardUpdated() {
        return IDCardUpdated;
    }

    public void setIDCardUpdated(boolean idCardUpdated) {
        this.IDCardUpdated = idCardUpdated;
    }

    public String getLeaveWord() {
        return leaveWord;
    }

    public void setLeaveWord(String leaveWord) {
        this.leaveWord = leaveWord;
    }
    
//    public void verify(OrderConsumerInfo that){
//    	DataUtil.verifyObject(this,that);
//    }
    
    public static void main(String[] args) throws Exception {
    	OrderConsumerInfo o1 = new OrderConsumerInfo();
    	OrderConsumerInfo o2 = new OrderConsumerInfo();
    	o2.setIDCardUpdated(true);
//		o2.verify(o1);
//    	DataUtil.verifyObject(o1, o2);
	}
}
